//
//  HttpClientDataCacheManager.h
//  ITV
//
//  Created by inphase on 17/5/12.
//  Copyright © 2017年 inphase. All rights reserved.
//

#import <Foundation/Foundation.h>


/*
 * 所有的存储都是将对象转成 JSON 字符串，然后存储
 * 对象的获取需要传递对象类型
 */


@interface HttpClientDataCacheManager : NSObject<NSCopying>


+(HttpClientDataCacheManager *) manager;

-(void) saveObject:(NSObject *) object forKey:(NSString *) key;
-(id) objectForKey:(NSString *) key withClass:(Class) classType;

@end
